package com.dao;

import com.entity.Designpurposes;
import com.entity.DesignpurposesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface DesignpurposesDao {
    long countByExample(DesignpurposesExample example);

    int deleteByExample(DesignpurposesExample example);

    int deleteByPrimaryKey(Integer did);

    int insert(Designpurposes record);

    int insertSelective(Designpurposes record);

    List<Designpurposes> selectByExample(DesignpurposesExample example);

    Designpurposes selectByPrimaryKey(Integer did);

    int updateByExampleSelective(@Param("record") Designpurposes record, @Param("example") DesignpurposesExample example);

    int updateByExample(@Param("record") Designpurposes record, @Param("example") DesignpurposesExample example);

    int updateByPrimaryKeySelective(Designpurposes record);

    int updateByPrimaryKey(Designpurposes record);
}